﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IB_report_stand.Objects
{
    
        public class SaleReportObject
    {
        private DateTime _startDate;
        private DateTime _endDate;
        private DateTime _datum;
        private String _dagbknr;
        private String _bkstnr;
        private String _descriptions;
        private double _GhiNoAR;
        private double _GhiCoLedger1;
        private double _GhiCoLedger2;
        private double _GhiCoLedger3;
        private double _LedgerCode;
        private double _GhiCoKHAC;

        public SaleReportObject() { 
        }

        public SaleReportObject(DateTime startDate, DateTime endDate, DateTime datum,String dagbknr,String bkstnr,String desc,
            double ledger1,double ledger2, double ledger3, double ledgerCode, double ghiCoKhac){

                this.StartDate = startDate;
                this.EndDate = endDate;
                this.Datum = datum;
                this.Dagbknr = dagbknr;
                this.Bkstnr = bkstnr;
                this.Descriptions = desc;
                this.GhiCoLedger1 = ledger1;
                this.GhiCoLedger2 = ledger2;
                this.GhiCoLedger3 = ledger3;
                this.LedgerCode = ledgerCode;
                this.GhiCoKHAC = ghiCoKhac;
                 
        }

        public double GhiCoKHAC
        {
            // Retrieves the number data member.
            get
            {
                return _GhiCoKHAC;
            }
            // Assigns to the number data member.
            set
            {
                _GhiCoKHAC = value;
            }
        }

        public double LedgerCode
        {
            // Retrieves the number data member.
            get
            {
                return _LedgerCode;
            }
            // Assigns to the number data member.
            set
            {
                _LedgerCode = value;
            }
        }

        public double GhiCoLedger3
        {
            // Retrieves the number data member.
            get
            {
                return _GhiCoLedger3;
            }
            // Assigns to the number data member.
            set
            {
                _GhiCoLedger3 = value;
            }
        }

        public double GhiCoLedger2
        {
            // Retrieves the number data member.
            get
            {
                return _GhiCoLedger2;
            }
            // Assigns to the number data member.
            set
            {
                _GhiCoLedger2 = value;
            }
        }

        public double GhiCoLedger1
        {
            // Retrieves the number data member.
            get
            {
                return _GhiCoLedger1;
            }
            // Assigns to the number data member.
            set
            {
                _GhiCoLedger1 = value;
            }
        }

        public double GhiNoAR
        {
            // Retrieves the number data member.
            get
            {
                return _GhiNoAR;
            }
            // Assigns to the number data member.
            set
            {
                _GhiNoAR = value;
            }
        }

        public String Descriptions
        {
            // Retrieves the number data member.
            get
            {
                return _descriptions;
            }
            // Assigns to the number data member.
            set
            {
                _descriptions = value;
            }
        }

        public String Bkstnr
        {
            // Retrieves the number data member.
            get
            {
                return _bkstnr;
            }
            // Assigns to the number data member.
            set
            {
                _bkstnr = value;
            }
        }

        public String Dagbknr
        {
            // Retrieves the number data member.
            get
            {
                return _dagbknr;
            }
            // Assigns to the number data member.
            set
            {
                _dagbknr = value;
            }
        }

        public DateTime Datum
        {
            // Retrieves the number data member.
            get
            {
                return _datum;
            }
            // Assigns to the number data member.
            set
            {
                _datum = value;
            }
        }

        public DateTime StartDate
        {
           
            get
            {
                return _startDate;
            }
          
            set
            {
                _startDate = value;
            }
        }
        public DateTime EndDate
        {
            // Retrieves the number data member.
            get
            {
                return _endDate;
            }
            // Assigns to the number data member.
            set
            {
                _endDate = value;
            }
        }
        }
}
